import { ArgsTable, Meta } from '@storybook/addon-docs'
import {
  DateLibAdapterProvider,
  DatePicker,
  DateTimePicker,
} from '@v-uik/date-picker'
import { COMPONENTS, createTitle } from '../../docs/showroom/config'

import { DatePickerClassesDummy } from './examples'

<Meta
  title={createTitle([COMPONENTS.inputFields, 'DatePicker', 'API'])}
  component={DatePicker}
  parameters={{
    viewMode: 'docs',
    previewTabs: {
      canvas: { hidden: true },
    },
  }}
/>

# DatePicker API

<ArgsTable of={DatePicker} />

# DateTimePicker API

<ArgsTable of={DateTimePicker} />

# DatePicker classes

<ArgsTable of={DatePickerClassesDummy} />

# DateLibAdapterProvider API

<ArgsTable of={DateLibAdapterProvider} />
